package com.rd.student.jiaji.class4.suyan.zrrd.day08;

public class Student {
    public static int numberofStudent=0;
    private String name;
    private int id;
    private int age;
    public  Student(){
        this.name=name;
        this.age=age;
        this.id=++numberofStudent;
    }
    public void show(){
        System.out.println("Student name="+name+",age="+age+",id="+id);
    }

    public static void main(String[] args) {

    }
}
